import Taro from '@tarojs/taro'
import {WebView} from '@tarojs/components'

export default class Index extends Taro.Component {

  constructor() {
    super(...arguments)

    this.state = {
      url: this.$router.params.url,
    }
  }

  render() {
    const {url} = this.state;

    return (
      <WebView src={url} />
    )
  }
}

